package com.lsjenglish.englishstudy.service.impl;

import com.lsjenglish.englishstudy.controller.ShowEnglishWorld;
import com.lsjenglish.englishstudy.domain.ShowWorldEntity;
import com.lsjenglish.englishstudy.mapper.ShowWorldMapper;
import com.lsjenglish.englishstudy.service.IShowWorldService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Lsj
 * @version 1.0
 * @date 2021/7/19 21:29
 */
@Service
@AllArgsConstructor
public class ShowWorldServiceIml implements IShowWorldService {
    private final ShowWorldMapper showWorldMapper;

    /**
     * 英汉
     *
     * @return 英语和汉语
     */
    @Override
    public List<ShowWorldEntity> englishWorldS() {
        return showWorldMapper.englishWorldS();
    }
}
